home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1191 / 1191.xpi / chrome / reminderfox.jar / content / reminderfox / editing / repeatDialog.xul < prev    next >
Extensible Markup Language  |  2008-10-19  |  5KB  |  122 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://reminderfox/skin/reminder.css"  type="text/css"?>
  5. <?xml-stylesheet href="chrome://reminderfox/skin/catBox.css"  type="text/css"?>
  6.  
  7. <?xul-overlay href="chrome://reminderfox/content/datepicker/datepicker-overlay.xul"?>
  8. <?xul-overlay href="chrome://reminderfox/content/editing/eventEntryOverlay.xul"?>
  9.  
  10. <!-- DTD Files -->
  11. <!DOCTYPE window 
  12. [
  13.     <!ENTITY % dtd2 SYSTEM "chrome://reminderfox/locale/reminderfox.dtd" > %dtd2;
  14. ]>
  15.  
  16.  
  17. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  18.         id="reminderFox-editAdd-categories"
  19.         persist="screenX screenY"
  20.          title="&rf.reminderoptions.repeat.custom.title.label;"
  21.         onload="loadRepeat();">
  22.  
  23.     <stringbundleset id="stringbundleset">
  24.         <stringbundle id="reminderFox-bundle" src="chrome://reminderfox/locale/reminderfox.properties" />
  25.     </stringbundleset>
  26.  
  27.     <script type="application/x-javascript" src="chrome://reminderfox/content/categories/manageCategories.js" />
  28.     <script type="application/x-javascript" src="chrome://reminderfox/content/categories/categories.js" />
  29.     <script type="application/x-javascript" src="chrome://reminderfox/content/editing/reminderOptionsDialog.js" />
  30.     <script type="application/x-javascript" src="chrome://reminderfox/content/editing/repeatDialog.js" />
  31.  
  32.     <script type="application/x-javascript" src="chrome://reminderfox/content/reminderFoxCore.js" />
  33.     <script type="application/x-javascript" src="chrome://reminderfox/content/datepicker/datepicker.js" />
  34.  
  35.     <keyset id="reminderFoxOptions-keys">
  36.         <key keycode="VK_ESCAPE" oncommand="window.close();" />
  37.         <key keycode="VK_ENTER" oncommand="reminderFox_saveRepeat();" />
  38.         <key keycode="VK_RETURN" oncommand="reminderFox_saveRepeat();" />
  39.     </keyset>
  40.  
  41.  
  42.     <vbox id="reminderFoxVbox1">
  43.         <!-- brought in from overlay -->
  44.         <hbox>
  45.             <menulist id="reminderFox-repeatList" oncommand="repeatChanged();" />
  46.             <spacer flex="1" />
  47.         </hbox>
  48.  
  49.         <deck id="repeatdeck">
  50.             <vbox>
  51.                 <hbox align="center">
  52.                     <label value="&rf.reminderoptions.repeat.every.label;" />
  53.                     <textbox id="yearsText" size="3" value="1" />
  54.                     <label value="&rf.reminderoptions.repeat.years.label;" />
  55.                     <spacer flex="1" />
  56.                 </hbox>
  57.                 <spacer flex="1" />
  58.             </vbox>
  59.             <vbox>
  60.                 <hbox align="center">
  61.                     <label value="&rf.reminderoptions.repeat.every.label;" />
  62.                     <textbox id="monthsText" size="3"  value="1"/>
  63.                     <label value="&rf.reminderoptions.repeat.months.label;" />
  64.                 </hbox>
  65.             </vbox>
  66.             <vbox>
  67.                 <hbox align="center">
  68.                     <label value="&rf.reminderoptions.repeat.every.label;" />  
  69.                     <textbox id="weeksText" size="3"  value="1" />
  70.                     <label value="&rf.reminderoptions.repeat.weeks.label;" />
  71.                 </hbox>
  72.                 <vbox>
  73.                     <hbox>
  74.                         <checkbox id="weekly-mon" label="&day.2.name;" value="2" />  
  75.                         <checkbox id="weekly-tue" label="&day.3.name;" value="3" />
  76.                         <checkbox id="weekly-wed" label="&day.4.name;" value="4" />
  77.                         <checkbox id="weekly-thu" label="&day.5.name;" value="5" />
  78.                     </hbox>
  79.                     <hbox>
  80.                         <checkbox id="weekly-fri" label="&day.6.name;" value="6" />
  81.                         <checkbox id="weekly-sat" label="&day.7.name;" value="7" />
  82.                         <checkbox id="weekly-sun" label="&day.1.name;" value="1" />
  83.                     </hbox>
  84.                 </vbox>
  85.             </vbox>
  86.             <vbox>
  87.                 <hbox align="center">
  88.                     <label value="&rf.reminderoptions.repeat.every.label;" />
  89.                     <textbox id="daysText"  size="3"  value="1" />
  90.                     <label value="&rf.reminderoptions.repeat.days.label;" />
  91.                     <spacer flex="1" />
  92.                 </hbox>
  93.                 <spacer flex="1" />
  94.             </vbox>
  95.  
  96.         </deck>
  97.     </vbox>
  98.  
  99.     <vbox>
  100.         <radiogroup id="repeatLength" oncommand="updateRepeatLength()">
  101.             <radio label="&rf.reminderoptions.repeat.forever.label;" value="forever" selected="true" />
  102.             <hbox>
  103.                 <radio label="&rf.reminderoptions.repeat.until.label;" value="until" />                
  104.                 <!-- brought in from overlay -->
  105.                 <hbox id="dateEntryHBox" disabled="true" />
  106.             </hbox>
  107.         </radiogroup>
  108.     </vbox>
  109.  
  110. <!-- footer buttons overlay -->
  111.     <vbox id="footer">
  112.         <hbox id="reminderFox-options-footer" class="reminderFox-footer3" align="center"/>
  113.         <hbox id="reminderFox-options-footer" class="reminderFox-footer2" align="center"/>
  114.     
  115.         <hbox>            
  116.             <spacer class="reminderFox-btnspacer" flex="1"/>
  117.             <button id="rf-repeat-okay" label="&rf.ok;" default="true"  oncommand="reminderFox_saveRepeat();"  />
  118.             <button id="rf-repeat-cancel" label="&rf.cancel;"  oncommand="window.close();"  />
  119.         </hbox>
  120.     </vbox>
  121. </window>
  122.